Spread Windows Forms 18
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / StyleCollection Class / CopyTo Method / CopyTo(Style[],Int32) Method
An array of type Style serving as the destination for the copy action.
The zero-based index at which to start placing the copied collection.


In This Topic
    CopyTo(Style[],Int32) Method
    In This Topic
    Copies the items of the StyleCollection to a compatible one-dimensional array of type Style, starting at the specified zero-based index of the target array.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array() As Style, _
       ByVal arrayIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As StyleCollection
    Dim array() As Style
    Dim arrayIndex As Integer
     
    instance.CopyTo(array, arrayIndex)
    public void CopyTo( 
       Style[] array,
       int arrayIndex
    )

    Parameters

    array
    An array of type Style serving as the destination for the copy action.
    arrayIndex
    The zero-based index at which to start placing the copied collection.
    See Also